<template>
	<view class="">
		<!-- <u-navbar :is-back="true" :is-fixed="true" :border-bottom="false" ></u-navbar> -->
		<web-view :webview-styles="webviewStyles" :src="url"></web-view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			webviewStyles: {
				progress: {
					color: '#FF3333'
				}
			},
			key:'407e3b6f1796ada81f9ace47b1dfb493',//高德地图web端key
			url:''
		}
	},
	onLoad(option) {
	  this.url = `https://m.amap.com/navi/?start=${option.start}&dest=${option.dest}&key=${this.key}`
	}
}
</script>

<style>
</style>
